<?php echo $this->fetch('header.html'); ?>

<div class="lists lists1">
    <ul>
        <?php if ($this->_var['searched_goods']): ?>
        <?php $_from = $this->_var['searched_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'sgoods');if (count($_from)):
    foreach ($_from AS $this->_var['sgoods']):
?>
        <a href="<?php echo url('app=goods&id=' . $this->_var['sgoods']['goods_id']. ''); ?>">
            <li>
                <img src="<?php echo $this->_var['site_url']; ?>/<?php echo $this->_var['sgoods']['default_image']; ?>" />
                <p><?php echo htmlspecialchars($this->_var['sgoods']['goods_name']); ?></p>
                <span><?php echo price_format($this->_var['sgoods']['price']); ?></span>
            </li>
        </a>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        <?php else: ?>
        <div style="padding:50px 60px; text-align:center;background:#fff;margin:5px 0px 0;">很抱歉! 没有找到相关商品</div>
        <?php endif; ?>
    </ul>
</div>



<?php echo $this->fetch('page.bottom.html'); ?>
<?php echo $this->fetch('footer.html'); ?>